package org.dubnation.base.enums;

/**
 * 响应信息枚举类
 */
public enum  ResponseCode {
    RESPONSE_CODE_200(200,"操作成功!"),
    RESPONSE_CODE_400(400,"参数错误!"),
    RESPONSE_CODE_400001(400001,"两次密码不一致!"),
    RESPONSE_CODE_400002(400002,"店铺已存在!"),
    RESPONSE_CODE_400003(400003,"商店座机号码格式不合法!"),
    RESPONSE_CODE_400004(400004,"商店地址不存在!"),
    RESPONSE_CODE_400005(400005,"店长手机号码不合法!"),
    RESPONSE_CODE_400006(400006,"发送邮件失败!"),
    RESPONSE_CODE_400007(400007,"该管理员没有邮箱!"),
    RESPONSE_CODE_400008(400008,"激活失败，激活码已失效!"),
    RESPONSE_CODE_400009(400009,"上架失败!"),
    RESPONSE_CODE_4000010(4000010,"该店铺驳回次数已超过3次，请查看店铺信息!"),
    RESPONSE_CODE_4000011(4000011,"请输入正确验证码!"),
    RESPONSE_CODE_4000012(4000012,"短信发送验证码失败!"),
    RESPONSE_CODE_4000013(4000013,"您当前操作过于频繁，请在1分钟后重试!"),
    RESPONSE_CODE_4000014(4000014,"当前手机号码已注册，请登录!"),
    RESPONSE_CODE_4000015(4000015,"手机验证码输入不正确!"),
    RESPONSE_CODE_4000017(4000017,"用户名或密码错误!"),
    RESPONSE_CODE_4000018(4000018,"索引库中对应车辆数据不存在!"),
    RESPONSE_CODE_4000019(4000019,"此商品在购物车中已存在!"),
    RESPONSE_CODE_4000020(4000020,"导入文件中有错误数据!"),
    RESPONSE_CODE_4000021(4000021,"导出文件失败!"),
    RESPONSE_CODE_4000022(4000022,"对不起, 您没有该操作权限!"),
    RESPONSE_CODE_4000023(4000023,"请选择上架车辆!"),
    RESPONSE_CODE_4000024(4000024,"车辆检测不满足上架要求!"),
    RESPONSE_CODE_4000025(4000025,"该车辆已上架, 不予修改!"),
    RESPONSE_CODE_4000026(4000026,"请输入手机号码!"),
    RESPONSE_CODE_4000027(4000027,"用户名或邮箱已存在, 请替换!"),
    RESPONSE_CODE_4000028(4000028,"发送短信失败!"),
    RESPONSE_CODE_4000029(4000029,"图片内容审核失败!"),
    RESPONSE_CODE_4000030(4000030,"文本内容审核失败!"),
    RESPONSE_CODE_4000031(4000031,"当前账户还没有注册, 请前往注册!"),
    RESPONSE_CODE_4000032(4000032,"您还不是该系统员工!"),
    RESPONSE_CODE_4000033(4000033,"车辆类型删除失败!"),
    RESPONSE_CODE_500(500,"网络异常!请稍后重试!");

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}